﻿namespace USElections.Tiles
{
    using System.Windows.Controls;
    using USElections.Model;

    public partial class VoteBackTile : UserControl
    {
        public VoteBackTile(Candidate candidate)
        {
            this.Candidate = candidate;

            InitializeComponent();

            this.DataContext = this;
        }

        public Candidate Candidate { get; private set; }
    }
}
